/*    
 * Copyright (c) 2013 ISoftStone, Inc.
 * All right reserved.
 *
 * 文件名：      AuthorizationJob.java
 * 作者:     Jacky Wang
 * 创建日期： 2013-8-12 下午03:29:48
 * 版本：           
 *
 */
package com.isoftstone.industry.aaa.schedule;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;

import com.isoftstone.industry.aaa.core.service.authorization.IAuthorizeService;

/**
 * @author jacky
 */
@Component("authorizationJob")
public class AuthorizationJob
{
	private final Logger		logger	= Logger.getLogger(AccountingJob.class);

	@Resource
	private IAuthorizeService	authorizeService;

	public void work()
	{
		logger.info("系统授权job开始...");
		authorizeService.timingAuthorize();
		logger.info("系统授权job结束...");
	}
}
